﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>站内搜索 - {config.webname}</title>
<meta content="{config.webkeyword}" name="keywords" />
<meta content="{config.webdescription}" name="description" />
<!--<link rel="stylesheet" href="{config.webpath}css/pagination.css" />--><!--
<link media="screen" type="text/css" href="<%templateskin%>/css/style.css" rel="stylesheet">-->
    <!-- CSS Global Compulsory-->
    <link rel="stylesheet" href="<%templateskin%>/assets/plugins/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" href="<%templateskin%>/assets/css/style.css" />
    <link rel="stylesheet" href="<%templateskin%>/assets/css/headers/header1.css" />
    <link rel="stylesheet" href="<%templateskin%>/assets/plugins/bootstrap/css/bootstrap-responsive.min.css" />
    <link rel="stylesheet" href="<%templateskin%>/assets/css/style_responsive.css" />
    <link rel="shortcut icon" href="favicon.ico" />        
    <!-- CSS Implementing Plugins -->    
    <link rel="stylesheet" href="<%templateskin%>/assets/plugins/font-awesome/css/font-awesome.css" />
    <link rel="stylesheet" href="<%templateskin%>/assets/plugins/flexslider/flexslider.css" type="text/css" media="screen" />    	
    <link rel="stylesheet" href="<%templateskin%>/assets/plugins/parallax-slider/css/parallax-slider.css" type="text/css" />
    <!-- CSS Theme -->    
    <link rel="stylesheet" href="<%templateskin%>/assets/css/themes/default.css" id="style_color" />
    <link rel="stylesheet" href="<%templateskin%>/assets/css/themes/headers/default.css" id="style_color-header-1" />    
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="<%templateskin%>/js/base.js"></script>
</head>

<body>
<!--Header-->
<%template src="_header.html"%>
<!--/Header-->

<div class="container">
  <div class="boxwrap">
    <%set DataTable list=get_search_list(15, out totalcount)%> <!--取得一个DataTable-->
	<%set string pagelist=get_page_link(15, page, totalcount, linkurl("search","?channel_name="+"news"+"&keyword=" + Server.UrlEncode(keyword) + "&page=__id__"))%> <!--取得分页页码列表-->
     <div class="headline" style="margin-bottom:0px;">
        <h3>站内搜索</h3>
     </div>
    <div class="main_tit">
      <i>搜索关健字： <b class="blue">{keyword}</b> ，共有 <b class="red">{totalcount}</b> 条记录</i>
    </div>
    <div class="line20"></div>
    <ul class="search_list">
      <%loop dr list%>
      <%if(dr["name"].ToString()=="goods")%>
      <li style=" height:160px">
            <div style="float:left; width:18%"><a   href="{dr[link_url]}" title="{dr[title]}"><img  style="width: 152px;height: 152px;" src="{dr[img_url]}" alt="{dr[title]}"></a></div>
            <div style="float:left; width:75%; margin-left:20px">
             <p><a target="_blank" href="{dr[link_url]}">{dr[title]}</a><span>( <%datetostr({dr[add_time]},yyyy-MM-dd)%> )</span></p>
             <p>{dr[remark]}</p>
            </div>
          </li>
      <%else%>
        <li>
            <a target="_blank" href="{dr[link_url]}">{dr[title]}</a><span>( <%datetostr({dr[add_time]},yyyy-MM-dd)%> )</span>
            <p>{dr[remark]}</p>
        </li>
      <%/if%>


      
      <%/loop%>
    </ul>
    <div class="clear"></div>
    <div class="flickr">{pagelist}</div> <!--放置页码列表-->
  </div>
</div>

<div class="clear"></div>

<!--Footer-->
<%template src="_footer.html"%>
<!--/Footer-->
<!-- JS Global Compulsory -->			
<script type="text/javascript" src="<%templateskin%>/assets/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="<%templateskin%>/assets/js/modernizr.custom.js"></script>		
<script type="text/javascript" src="<%templateskin%>/assets/plugins/bootstrap/js/bootstrap.min.js"></script>	
<!-- JS Implementing Plugins -->           
<script type="text/javascript" src="<%templateskin%>/assets/plugins/flexslider/jquery.flexslider-min.js"></script>
<script type="text/javascript" src="<%templateskin%>/assets/plugins/parallax-slider/js/modernizr.js"></script>
<script type="text/javascript" src="<%templateskin%>/assets/plugins/parallax-slider/js/jquery.cslider.js"></script> 
<script type="text/javascript" src="<%templateskin%>/assets/plugins/back-to-top.js"></script>
<!-- JS Page Level -->           
<script type="text/javascript" src="<%templateskin%>/assets/js/app.js"></script>
<script type="text/javascript" src="<%templateskin%>/assets/js/pages/index.js"></script>
<script type="text/javascript">
    jQuery(document).ready(function () {
        App.init();
        App.initSliders();
        Index.initParallaxSlider();
    });
</script>
</body>
</html>
